package com.house365.core.bean.common;
/**
 *@author py
 *@date 2013-5-21
 *@comment
 */
public class CommonTaskInfo<T>{
	//网络不可用
	public static final int NETWORK_UNAVAILABLE =1;
	//http请求异常，可能网络超时，或者服务端出错
	public static final int HTTP_REQUEST_ERROR =2;
	//数据解析异常
	public static final int PARSE_ERROR =3;
	public static final int SUCCESS=0;
	public int result;
	private T  t;
	public void setData(T t){
		this.t  = t;
	}
	public T getData(){
		return t;
	}
	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
	
	
}
